package test.asphalt2.factory.impl
{
	import test.asphalt2.factory.BarService;
	import test.asphalt2.factory.FooService;
	import test.asphalt2.factory.HogeService;
	
	public class BarServiceImpl implements BarService
	{
		private var _bar:int;		
		private var _fooService:FooService;
		private var _hogeService:HogeService;

		public function set bar(value:int):void{
			_bar = value;
		}		
		public function set fooService(value:FooService):void{
			_fooService = value;
		}
		public function set hogeService(value:HogeService):void{
			_hogeService = value;	
		}
		public function executeBar():String{
			return _bar + _fooService.executeFoo();
		}
	}
}